package com.wnxy.pawnbackgroundsystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wnxy.pawnbackgroundsystem.dto.GetAllWareHousePageDto;
import com.wnxy.pawnbackgroundsystem.dto.SelectHouseDto;
import com.wnxy.pawnbackgroundsystem.dto.StoreDto;
import com.wnxy.pawnbackgroundsystem.dto.WareHouseDto;
import com.wnxy.pawnbackgroundsystem.entity.Warehouse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wnxy.pawnbackgroundsystem.param.GetHouseParam;
import com.wnxy.pawnbackgroundsystem.param.GetStoreParam;
import com.wnxy.pawnbackgroundsystem.param.UpdateHouseParam;
import com.wnxy.pawnbackgroundsystem.param.WarehouseParam;

import java.util.List;

/**
 * <p>
 * 仓库管理表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2021-10-14
 */
public interface IWarehouseService extends IService<Warehouse> {

    void delWarehouse(Integer houseId);

    void insertHouse(WarehouseParam warehouseParam);

    List<WareHouseDto> getAllHouse();

    IPage<SelectHouseDto> houseDto(GetHouseParam getHouseParam);

    void updateHouse(UpdateHouseParam up);

    GetAllWareHousePageDto getAllWareHouse(GetHouseParam getHouseParam);

    List<String> getStoreName(Integer warehouseId);
}
